package cn.hh.app;

import cn.hh.cn.hh.bean.User;
import cn.hh.cn.hh.bean.User2;
import cn.hh.dao.Userdao;
import cn.hh.dao.Userdao2;

/**
 * @Author huangh
 * @date 2021/11/02
 * @Description:
 */
public class UserDaoTest {

    public static void main(String[] args) {
        /*Userdao userDao = new Userdao();
        User user = new User("huangh", 28);
        userDao.add(user);*/

        Userdao2 userDao2 = new Userdao2();
        User2 user = new User2("huangh", 28);
        userDao2.add(user);

    }
}
